hi, |
Re: Collection of Links to an attribute.
|
Re: Collection of Links to an attribute. i do agree that the by performing the "Analysis --> Wizard", i will be able to view the links in the view. What i exactly require is to collect the links and put them into an user defined attribute. In other words, the user defined attribute should be the copy of the links from "Analysis --> Wizard". This user defined attribute should be updated only when i run the dxl script. In dxl i would like to know if there is any function to copy the links to an attibute. Thanks for the information. Matthew |
Re: Collection of Links to an attribute. Lion29 - Tue Sep 22 05:23:55 EDT 2009
When you say 'collect the links' I think you should say 'display link information'.
Object oCurr
string NameTargetAttr = "MyLinkDisplayAttr"
Buffer bufResults = create()
string EOL = ""
//*************
void displayRich(string Message)
{ // overloaded, redefines the 'displayRich' command from the layout
bufResults += EOL
bufResults += Message
EOL = "\n"
}
//*********************
void display(string Message)
{ // Overloaded, redefines the 'display' command from the Layout
displayRich(Message)
}
for oCurr in entire (current Module) do
{ bufResults = ""
EOL = ""
<<Insert layout code here, replacing 'obj' with 'oCurr'>>
oCurr.NameTargetAttr = richText(bufResults)
}
delete(bufResults)
|
Re: Collection of Links to an attribute. i am not able to get what should be inserted into <<Insert layout code here, replacing 'obj' with 'oCurr'>> can you pls. give me a clue... |
Re: Collection of Links to an attribute. Lion29 - Wed Sep 30 08:29:53 EDT 2009 {code} o Look at the module with that wizard column displayed. o Right click on the column header, which may be labeled 'In-Links'. o Select properties from the right-click pull-down. o 'Layout' should be selected. Hit the http://Browse... button o Hit the Current button o In the 'Edit Layout DXL' window, cntl-A to select-all, then cntl-C to copy. o Cancel, Cancel, Cancel to get back to the module. o Find my code, find the right spot, and cntl-v to paste it.
|